package com.shiroha.chat.service.impl;

import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.shiroha.chat.mapper.ChatRecordMapper;
import com.shiroha.chat.pojo.ChatRecord;
import com.shiroha.chat.pojo.dto.ChatMessage;
import com.shiroha.chat.service.IChatService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class ChatServiceImpl extends ServiceImpl<ChatRecordMapper, ChatRecord> implements IChatService {


    /**
     * 保存聊天消息
     *
     * @param chatMessage 聊天消息
     */
    @Override
    public void saveChatMessage(ChatMessage chatMessage) {

    }

    @Override
    public void handleChatMessage(ChatMessage chatMessage) {

    }
}
